package com.ticket.sass.common.entity.tenant.enums

import com.baomidou.mybatisplus.annotation.IEnum

enum class TicketServerConfigPlatform(private val value: Short, val tips: String) : IEnum<Short> {
    CX(1, "辰星4.0"),
    DX(2, "鼎新"),
    FHYZ(3, "凤凰云智"),
    FHJY(4, "凤凰佳影"),
    HLN(5, "火烈鸟"),
    VISTA(6, "vista"),
    M1905(7, "m1905"),
    CX30(9, "辰星3.0"),
    CX300(10, "辰星3.0.0");

    override fun getValue(): Short {
        return value
    }

    companion object {
        fun valueOf(v: Short) = values().find { it.value == v } ?: error("未匹配到枚举")
    }
}